// // pages/My/Index.js
import{ request }from"../../pages/request/index.js";

Page({
    data: {
        floorList: []
    },
    onLoad:function(options){
        this.getfloorList();
      },
      //获取 楼层数据
  getfloorList() {
    request({url: 'http://localhost:35043/api/User/GetIndex'})
      .then(result=>{
        this.setData({
          floorList:result.data.data
        })
      })
  },
})

